#ifndef SETTINGSPAGEMANGER_H
#define SETTINGSPAGEMANGER_H

#include <QObject>
#include "UserLayer/GUI/SettingsWidget/settingswidget.h"
#include "UserLayer/GUI/SettingsWidget/accountarea.h"
#include "UserLayer/GUI/SettingsWidget/messagearea.h"
#include "UserLayer/GUI/SettingsWidget/currencyarea.h"
#include "UserLayer/GUI/SettingsWidget/filearea.h"
#include "UserLayer/GUI/SettingsWidget/aboutarea.h"
class SettingsWidget;
class SettingsPageManger
{
    //Q_OBJECT
public:
    enum PageType{
        ACCOUNTPAGE,
        MESSAGEPAGE,
        CURRENCYPAGE,
        FILEPAGE,
        ABOUTPAGE
    };
    SettingsPageManger();
    static void switchToPage(QWidget *w,PageType type);
    static void deletePage();
};

#endif // SETTINGSPAGEMANGER_H
